package com.lk.user.mapper;

import com.lk.user.domain.Logininfo;
import com.lk.basic.mapper.BaseMapper;
import com.lk.user.dto.AccountLoginDTO;
import com.lk.user.dto.AccountRegisterDTO;
import com.lk.user.dto.GmmLoginDTO;
import com.lk.user.dto.YzmLoginDTO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lk
 * @since 2022-11-15
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findUserByMobile(String mobile);


    Logininfo findUserByUsername(String username);

    Logininfo findLogininfoByUsername(AccountLoginDTO dto);

    Logininfo selByIdUserId(Long wxuserId);

    Logininfo findLogininfoByPhone(YzmLoginDTO dto);

    Logininfo findUserByPhone(String username);

    Logininfo findLogininfoByUsernameGmm(GmmLoginDTO dto);

    Logininfo loadByUserId(Long id);
}
